/**
 * 
 */
package edu.njit.hz278.bean;

import javax.validation.constraints.Min;

/**
 * @author Rivers Zhang
 * 
 */
public class AdmittedTo {
	@Min(1)
	protected int bedId;
	@Min(1)
	protected int pNum;
	protected long dateIn;
	protected long dateOut;

	public int getBedId() {
		return bedId;
	}

	public void setBedId(int bedId) {
		this.bedId = bedId;
	}

	public int getpNum() {
		return pNum;
	}

	public void setpNum(int pNum) {
		this.pNum = pNum;
	}

	public long getDateIn() {
		return dateIn;
	}

	public void setDateIn(long dateIn) {
		this.dateIn = dateIn;
	}

	public long getDateOut() {
		return dateOut;
	}

	public void setDateOut(long dateOut) {
		this.dateOut = dateOut;
	}

}
